﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HdipCricketClub.Models;
using HdipCricketClub.ViewModels;
using System.Data;
using System.Data.Entity;

namespace HdipCricketClub.ViewModels
{
    public class EditTeamViewModel
    {
        CricketClubEntities db = new CricketClubEntities();
        ClubFixturePlayerRepository clubFixturePlayerRepository = new ClubFixturePlayerRepository();

        public Fixture Fixture { get; set; }

        public IQueryable<ClubFixturePlayer> ClubFixturePlayers { get; set; }

        //IEnumerable<SelectList> SelectList
        //{
        //    get
        //    {
        //        new IEnumerable<SelectListItem>() = 
        //    }
        //}
        //IEnumerable<SelectListItem> selectList = 

    //    IEnumerable<SelectListItem> selectList =
    //from c in customers
    //select new SelectListItem
    //{
    //    Selected = (c.CustomerID == invoice.CustomerID),
    //    Text = c.Name,
    //    Value = c.CustomerID.ToString()
    //};

    }
}